/* 抽屉内容通用样式 - 统一所有抽屉页面的视觉效果 */

.drawer-content-wrapper {
  padding: 0 10px;
}

.info-section {
  margin-bottom: 30px;
  position: relative;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 8px;
  color: #333;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #409eff;
}

.info-descriptions {
  background-color: #fafafa;
  border-radius: 6px;
  padding: 10px;
}

/* 自定义表格样式 */
.custom-table {
  --el-table-border-color: #ebeef5;
  --el-table-header-bg-color: #f5f7fa;
  --el-table-row-hover-bg-color: #f5f7fa;
  border-radius: 6px;
  overflow: hidden;
}

/* 更轻量的描述列表样式 */
:deep(.el-descriptions__cell) {
  padding: 12px !important;
}

:deep(.el-descriptions__label) {
  width: 120px;
  font-weight: 500;
  color: #606266;
}

:deep(.el-descriptions__content) {
  word-break: break-all;
  color: #303133;
}

/* 标签样式优化 */
:deep(.el-tag) {
  border-radius: 4px;
  padding: 0 8px;
  height: 24px;
  line-height: 24px;
}

/* 表单样式优化 */
.form-section {
  margin-bottom: 30px;
}

.form-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 8px;
  color: #333;
  position: relative;
}

.form-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #409eff;
}

.form-container {
  background-color: #fafafa;
  border-radius: 6px;
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

/* 客户地址信息样式 */
.customer-address-info {
  margin-top: 10px;
  padding: 10px;
  background-color: #f0f9eb;
  border: 1px solid #e1f3d8;
  border-radius: 4px;
  color: #67c23a;
  font-size: 14px;
}

.customer-address-info span {
  display: block;
  margin-bottom: 5px;
}

.customer-address-info span:last-child {
  margin-bottom: 0;
}

/* 卡片样式优化 */
.info-card {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05) !important;
  border-radius: 8px !important;
  margin-bottom: 20px;
}

/* 标签页样式优化 */
.drawer-tabs {
  margin-top: 20px;
}

.tab-content {
  padding: 20px 0;
}

.tab-toolbar {
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-end;
}

/* 文本样式 */
.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  width: 100%;
}

/* 提示样式 */
.tip-text {
  color: #909399;
  font-size: 13px;
  margin-top: 5px;
}

/* 响应式样式 */
@media (max-width: 768px) {
  .drawer-content-wrapper {
    padding: 0 5px;
  }

  .info-descriptions {
    width: 100%;
    overflow-x: auto;
  }

  .tab-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .tab-toolbar .el-button {
    margin-bottom: 10px;
  }
}
